package com.sojson.project.monitor.job.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sojson.project.monitor.job.entity.po.JobLog;
import com.sojson.project.monitor.job.service.ISysJobService;
import com.sojson.project.monitor.job.service.JobLogService;

/**
 * 定时任务调度Service实现类
 * 
 * @author liu
 * @date 2022-10-24
 */
@Service
public class SysJobServiceImpl implements ISysJobService {

    @Autowired
    private JobLogService jobLogService;

    /**
     * 单条插入
     * 
     * @param dto
     * @return
     */
    @Override
    public boolean save(JobLog dto) {
        return jobLogService.save(dto);
    }

}